package com.zhuoyue.biz.core.api.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zhuoyue.biz.core.api.domain.base.BaseDoClass;

import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * @author wjming
 * @ClassName: GeofencingDataReport
 * @Description: 地理围栏数据上报
 * @Date 2021-07-08 13:22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "`tbl_geofencing_data_report`")
public class GeofencingDataReport extends BaseDoClass implements Serializable {
    /**
     * 网关ID
     */
    @TableField(value = "`gateway_id`")
    private String gatewayId;

    /**
     * 围栏ID
     */
    @TableField(value = "`geofencing_set_id`")
    private String geofencingSetId;

    /**
     * 数据类型，0代表圈内，1代表圈外
     */
    @TableField(value = "`data_type`")
    private Boolean dataType;

    private static final long serialVersionUID = 1L;
}